import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'            // 导入组件库
import 'element-ui/lib/theme-chalk/index.css'
import cusCunfirm from '@/views/Confirm'
import filter from '@/config/filter.js'
import './assets/index.scss'
import echarts from 'echarts'
import '@/config/preventReClick'
Vue.prototype.$echarts = echarts
// import VueAwesomeSwiper from 'vue-awesome-swiper'
// import 'swiper/css/swiper.css'
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.prototype.$cusConfirm = cusCunfirm;
Vue.use(filter)
Vue.filter("two",function (data){
  return data < 10 ? '0' + data : data
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
